﻿<Application
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone" xmlns:System="clr-namespace:System;assembly=mscorlib"
    x:Class="ColorAndFont.App"
    >

    <!--Application Resources-->
    <Application.Resources>
        <local:LocalizedStrings xmlns:local="clr-namespace:ColorAndFont" x:Key="LocalizedStrings"/>
    	<System:String x:Key="MyAppName">Color and Font</System:String>
    	<SolidColorBrush x:Key="GreenColorBrush" Color="#F61DD400"/>
    	<LinearGradientBrush x:Key="RainbowColor" EndPoint="0.5,1" StartPoint="0.5,0">
    		<GradientStop Color="#FF9700FF" Offset="0"/>
    		<GradientStop Color="Red" Offset="1"/>
    		<GradientStop Color="#FF003AFF" Offset="0.355"/>
    		<GradientStop Color="#FF17FF00" Offset="0.479"/>
    		<GradientStop Color="#FFDCFF00" Offset="0.686"/>
    		<GradientStop Color="#FFFF5D00" Offset="0.862"/>
    		<GradientStop Color="Blue" Offset="0.193"/>
    	</LinearGradientBrush>
    	<ImageBrush x:Key="BeerColorBrush" Stretch="UniformToFill" ImageSource="/MixerLogo.jpg"/>
    </Application.Resources>

    <Application.ApplicationLifetimeObjects>
        <!--Required object that handles lifetime events for the application-->
        <shell:PhoneApplicationService
            Launching="Application_Launching" Closing="Application_Closing"
            Activated="Application_Activated" Deactivated="Application_Deactivated"/>
    </Application.ApplicationLifetimeObjects>

</Application>